import createAxios from '/@/utils/axios'

// 合并订单
export const controllerUrl = '/system/finance.Account/'


export function importApi(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'import',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: true,
    })
}

export function editDescApi(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'editDesc',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: false,
    })
}

export function uploadInvoiceApi(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'uploadInvoice',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: false,
    })
}

export function delInvoiceApi(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'delInvoice',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: false,
    })
}

export function accountInfoApi(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'accountInfo',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: false,
    })
}
